<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>Tuxxedo Engine API Documentation</title>

		<link rel="stylesheet" href="./style.css" media="all" type="text/css" />
	</head>
	<body>

<h1>\Tuxxedo\Template\Compiler</h1>
<div class="box">
	<div class="inner">
		<div class="left-content">
			<fieldset>
				<legend><strong>Meta information</strong></legend>
				<table cellspacing="4" cellpadding="0">
					<tr>
						<td>Availability:</td>
						<td class="value" style="width: 100%">
							Engine 1.0.0
						</td>
					</tr>
					<tr>
						<td>Type:</td>
						<td class="value" style="width: 100%">
							<a href="./classes.html">Class</a>
						</td>
					</tr>
					<tr>
	<td nowrap="nowrap">Namespace:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		<a href="namespace-tuxxedo-template-054260.html">\Tuxxedo\Template</a>
	</td>
</tr><tr>
	<td nowrap="nowrap">Declared in:</td>
	<td class="value" style="width: 100%" nowrap="nowrap">
		library/Tuxxedo/Template/Compiler.php
	</td>
</tr>
				</table>
			</fieldset>
		</div>
		<div class="content">
			<div class="infobox">
				Template compiler, this compiles raw template source
code into php executable code with support for
expressions. It supports recursive expressions with
else support.<br />This class is inspired by the vBulletin template
compilation model.
			</div>
			<br />
		</div>
		<div style="clear: left;"></div>
	</div>
</div>





<h2><span>Contents</span></h2>
<div class="box edge-title">
	<div class="inner">
		<div class="infobox">
			Table of contents
		</div>

		<h3>
	Constants
	<a name="constants"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Constant</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="constant-opt-no-class-call-limit-130389.html">OPT_NO_CLASS_CALL_LIMIT</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiler option - Disable class call check</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-opt-no-closure-call-limit-148061.html">OPT_NO_CLOSURE_CALL_LIMIT</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiler option - Disable closure call check</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-opt-no-function-call-limit-708919.html">OPT_NO_FUNCTION_CALL_LIMIT</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiler option - Disable function call check</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-opt-no-interpolated-calls-651131.html">OPT_NO_INTERPOLATED_CALLS</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiler option - Disable interpolated call protection</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-opt-parse-if-tags-784013.html">OPT_PARSE_IF_TAGS</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiler option - parse &lt;if&gt; tags</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="constant-opt-verbose-test-817910.html">OPT_VERBOSE_TEST</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiler option - Disable silent operator when running test()</td>
</tr>
</table><h3>
	Properties
	<a name="properties"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Property</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="property-classes-421546.html">$classes</a></td>
	<td nowrap="nowrap" style="width: 100%">The default class instances to allow in expressions</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-closures-609075.html">$closures</a></td>
	<td nowrap="nowrap" style="width: 100%">The default closures to allow in expressions</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-compiled-source-569059.html">$compiled_source</a></td>
	<td nowrap="nowrap" style="width: 100%">The compiled source code</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-error-reporting-294412.html">$error_reporting</a></td>
	<td nowrap="nowrap" style="width: 100%">Error reporting buffer</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-functions-380477.html">$functions</a></td>
	<td nowrap="nowrap" style="width: 100%">The default functions to allow in expressions, note
that this also contains some predefined special...</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-options-449994.html">$options</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiler options bitmask</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-source-920341.html">$source</a></td>
	<td nowrap="nowrap" style="width: 100%">The uncompiled raw source code</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="property-stack-data-871728.html">$stack_data</a></td>
	<td nowrap="nowrap" style="width: 100%">The current compiler stack data</td>
</tr>
</table><h3>
	Methods
	<a name="methods"></a>
</h3>
<table style="width: 100%" cellspacing="2" cellpadding="0">
	<tr class="head">
		<td class="strong" nowrap="nowrap" style="width: 20%;">Method</td>
		<td class="strong">Description</td>
	</tr>
	<tr class="row">
	<td nowrap="nowrap"><a href="method---construct-804183.html">__construct()</a></td>
	<td nowrap="nowrap" style="width: 100%">Template compiler constructor</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-allowclass-973075.html">allowClass()</a></td>
	<td nowrap="nowrap" style="width: 100%">Allows a new class instance to be used in expressions</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-allowclosure-909833.html">allowClosure()</a></td>
	<td nowrap="nowrap" style="width: 100%">Allows a closure within expressions</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-allowfunction-861392.html">allowFunction()</a></td>
	<td nowrap="nowrap" style="width: 100%">Allows a new function to be used in expressions</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-compile-144594.html">compile()</a></td>
	<td nowrap="nowrap" style="width: 100%">Compiles a template source</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getcompiledsource-481926.html">getCompiledSource()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the compiled source</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getoptions-584447.html">getOptions()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the current compiler options</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-getsource-044929.html">getSource()</a></td>
	<td nowrap="nowrap" style="width: 100%">Gets the uncompiled source code</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-setoptions-447622.html">setOptions()</a></td>
	<td nowrap="nowrap" style="width: 100%">Set a new compiler option</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-setsource-729335.html">setSource()</a></td>
	<td nowrap="nowrap" style="width: 100%">Sets a new uncompiled source code</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-symtable-409385.html">symtable()</a></td>
	<td nowrap="nowrap" style="width: 100%">Updates a internal symbol table</td>
</tr><tr class="row">
	<td nowrap="nowrap"><a href="method-test-262926.html">test()</a></td>
	<td nowrap="nowrap" style="width: 100%">Tests a compiled template for parse errors</td>
</tr>
</table>
	</div>
</div>







<h2><span>See also</span></h2>
<div class="box edge-title">
	<div class="inner">
		<ul>
			
			<li><a href="./classes.html">List of classes</a></li>
			<li><a href="./index.html">Table of contents</a></li>
		</ul>
	</div>
</div>

		<p>
			<em>Generated by Tuxxedo Engine 1.2.0 "Beloved" Release Candidate 1 (experimental).</em>
		</p>
	</body>
</html>